Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(esbuild): Don't inject debug IDs into injected modules #417

Merged
merged 6 commits into from
Oct 5, 2023

Conversation

lforst
Copy link
Member

@lforst lforst commented Oct 5, 2023

Fixes #413

When inject files are defined in esbuild we will inject debug IDs into those files. This means we will have 2+ debug IDs in the output bundles which will potentially mess up our upload logic and debug ID association.

With this PR we skip proxying injected modules therefore only injecting one debug ID per entrypoint (which is the desired outcome).

@lforst lforst requested review from mydea and Lms24 October 5, 2023 10:41
…ilty' into lforst-dont-inject-debug-ids-in-inject-files
@lforst lforst changed the base branch from lforst-add-integration-test-for-esbuild-inject-compatibilty to main October 5, 2023 11:51
@lforst lforst merged commit cc7fb44 into main Oct 5, 2023
16 checks passed
@lforst lforst deleted the lforst-dont-inject-debug-ids-in-inject-files branch October 5, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

esbuild-plugin overrides injected variables
2 participants